<template>
  <!-- 业务组件配置管理 -->
  <BaseMainSlot :show-tab="true">
    <template v-slot:btn-box>
      <ActionBar
        :add-active="addActive"
        :del-active="delActive"
        :edit-active="editActive"
        :cancel-active="cancelActive"
        :save-active="saveActive"
        :has-del="false"
        @add="add"
        @cancel="cancel"
        @del="del"
        @edit="edit"
        @save="save"
      />
    </template>
    <template v-slot:table-box>
      <!-- 业务组件展示表格 -->
      <div class="zh-table-view">
        <div class="view-tree">
          <el-tree
            ref="catetreetwo"
            v-loading="loading"
            :data="tableData"
            :check-strictly="true"
            :props="treePropstype"
            @node-click="treeclick"
            @check="handleSelectionChange"
          />
        </div>
        <div class="view-from">
          <el-form
            ref="formData"
            label-position="left"
            :model="formData"
            :rules="rules"
            class="el-form"
          >
            <el-form-item
              label="基地名称:"
              prop="organizationName"
              class="w100p"
            >
              <el-input
                v-model="formData.organizationName"
                :disabled="!canInput"
                clearable
              />
            </el-form-item>
            <el-form-item label="简称:" prop="abbreviation" class="w100p">
              <el-input
                v-model="formData.abbreviation"
                :disabled="!canInput"
                clearable
              />
            </el-form-item>
            <el-form-item label="基地编号:" prop="organizationNo" class="w100p">
              <el-input
                v-model="formData.organizationNo"
                :disabled="!canInput"
                clearable
              />
            </el-form-item>
            <el-form-item
              label="统一社会信用代码:"
              prop="creditNo"
              class="w100p"
            >
              <el-input
                v-model="formData.creditNo"
                :disabled="!canInput"
                clearable
              />
            </el-form-item>

            <el-form-item
              label="是否存在租户:"
              prop="existTenant"
              class="w100p"
            >
              <el-switch
                v-model="formData.existTenant"
                active-color="#13ce66"
                inactive-color="#ff4949"
                :disabled="!canInput"
              />
            </el-form-item>
            <el-form-item
              label="是否实名认证:"
              prop="realNameFlag"
              class="w100p"
            >
              <el-switch
                v-model="formData.realNameFlag"
                active-color="#13ce66"
                inactive-color="#ff4949"
                :disabled="!canInput"
              />
            </el-form-item>
            <el-form-item
              label="是否顶级组织:"
              prop="isTopParent"
              class="w100p"
            >
              <el-switch
                v-model="formData.isTopParent"
                active-color="#13ce66"
                inactive-color="#ff4949"
                :disabled="formData.parentId === 0 || !canInput"
              />
            </el-form-item>
            <el-form-item
              v-if=" nowChanceStau === 'add' && formData.isTopParent"
              label="数据库名称:"
              prop="databaseName"
              class="w100p"
            >
              <el-input
                v-model="formData.databaseName"
                placeholder="示例 ***_******_****** （使用英文，数字）"
                :disabled="!canInput"
                clearable
              />
            </el-form-item>
            <el-form-item
              label="法人身份证号:"
              prop="legalPersonIdCrad"
              class="w100p"
            >
              <el-input
                v-model="formData.legalPersonIdCrad"
                :disabled="!canInput"
                clearable
              />
            </el-form-item>
            <el-form-item label="法人:" prop="legalPersonName" class="w100p">
              <el-input
                v-model="formData.legalPersonName"
                :disabled="!canInput"
                clearable
              />
            </el-form-item>
            <el-form-item
              label="法人联系方式:"
              prop="legalPersonPhone"
              class="w100p"
            >
              <el-input
                v-model="formData.legalPersonPhone"
                :disabled="!canInput"
                clearable
              />
            </el-form-item>
            <el-form-item
              label="天气归属地:"
              prop="pinyin"
              class="w100p"
            >
              <el-input
                v-model="formData.pinyin"
                :disabled="!canInput"
                clearable
              />
            </el-form-item>
            <el-form-item class="w100p">
              <el-form-item label="省:" prop="province" class="w33p">
                <el-select
                  v-model="formData.provinceObj"
                  :disabled="!canInput"
                  clearable
                  value-key="districtCode"
                  @change="provinceChange"
                >
                  <el-option
                    v-for="(item, index) in ProvinceList"
                    :key="index"
                    :label="item.districtName"
                    :value="item"
                  />
                </el-select>
              </el-form-item>
              <el-form-item
                v-if="cityList.length > 0"
                label="市:"
                prop="city"
                class="w33p"
              >
                <el-select
                  v-model="formData.cityObj"
                  :disabled="!canInput"
                  clearable
                  value-key="districtCode"
                  @change="areaChange"
                >
                  <el-option
                    v-for="(item, index) in cityList"
                    :key="index"
                    :label="item.districtName"
                    :value="item"
                  />
                </el-select>
              </el-form-item>
              <el-form-item
                v-if="areaList.length > 0"
                label="区县:"
                prop="area"
                class="w33p"
              >
                <el-select
                  v-model="formData.areaObj"
                  value-key="districtCode"
                  :disabled="!canInput"
                  clearable
                >
                  <el-option
                    v-for="(item, index) in areaList"
                    :key="index"
                    :label="item.districtName"
                    :value="item"
                  />
                </el-select>
              </el-form-item>
            </el-form-item>
            <el-form-item label="具体地址:" prop="address" class="w100p">
              <el-input
                v-model="formData.address"
                :disabled="!canInput"
                clearable
              />
            </el-form-item>
            <el-form-item label="主体地址:" prop="location" class="w100p">
              <el-input
                v-model="formData.location"
                :disabled="!canInput"
                clearable
              />
            </el-form-item>
            <el-form-item label="联系人:" prop="contact" class="w100p">
              <el-input
                v-model="formData.contact"
                :disabled="!canInput"
                clearable
              />
            </el-form-item>

            <el-form-item label="联系人电话:" prop="phoneNum" class="w100p">
              <el-input
                v-model="formData.phoneNum"
                :disabled="!canInput"
                clearable
              />
            </el-form-item>
            <el-form-item label="邮编:" prop="zipCode" class="w100p">
              <el-input
                v-model="formData.zipCode"
                :disabled="!canInput"
                clearable
              />
            </el-form-item>
            <el-form-item label="仓储对接规则" class="w100p" >
                <el-select :disabled="!canInput" clearable   v-model="formData.storageRules">
                  <el-option label="自动生成出入库信息"  value="FIRST" />
                  <el-option label="自动生成出库信息"  value="SECOND" />
                  <el-option label="不自动生成出入库信息"  value="THREE" />
                </el-select>
              </el-form-item>
            <el-form-item label="描述:" prop="description" class="w100p">
              <el-input type="textarea"
                v-model="formData.description"
                :disabled="!canInput"
                :maxlength="200"
                clearable
              />
            </el-form-item>
            <!-- <el-form-item
              label="省市区县:"
              prop="location"
              class="w100p"
            >
              <el-input v-model="formData.location" :disabled="!canInput" clearable />
            </el-form-item> -->
          </el-form>
        </div>
      </div>
    </template>
  </BaseMainSlot>
</template>
<script>
import ActionBar from "@/components/ActionBar/index";
import { mymixin } from "@/utils/mixins";
// import SearchBox from "@/components/SearchBox";
import BaseMainSlot from "@/components/BaseMainSlot/newBaseMainSlot.vue";
import zhreq from "@/api/basic-info-manage/base-information-management";
// import zhreqs from "./1";
// import Pagination from "@/components/Pagination";
// import { getTitleList } from "@/components/getnameurl";
export default {
  components: { ActionBar, BaseMainSlot },
  mixins: [mymixin],
  data() {
    return {
      isshowuploadpic: false,
      tableData: [],
      pageSize: 10,
      currentPage: 1,
      totalSize: 0,
      // ---添加相关---
      diastau: 0,
      loading: false,
      formData: {},
      selectStau: "",
      ProvinceList: [],
      unitTypeName: undefined,
      treePropstype: {
        children: "child",
        label: "organizationName"
      },
      cityList: [],
      areaList: [],
      rules: {
        organizationName: [
          { required: true, message: "请输入组织名字", trigger: "blur" }
          // {
          //   pattern: /[a-z]|[A-Z]|[\u4e00-\u9fa5]/g,
          //   message: "请输入中/英文",
          //   trigger: "blur"
          // }
        ],
        organizationNo: [{ required: true, message: "请输入编号", trigger: "blur" }],
        databaseName: [{ required: true, message: "请输入数据库名称（大写英文字母，或小写英文字母）", trigger: "blur" }],
        creditNo: [
          { required: true, message: "请输入统一社会信用编码", trigger: "blur" }
        ]
      }
    };
  },
  created() {
    this.queryDataList();
  },
  mounted() {
    this.gettabledataList();
  },
  methods: {
    // 获取下拉框信息
    async queryDataList() {
      const { data: res } = await zhreq.queryProvince({});
      this.ProvinceList = res;
    },
    async queryParentByCondition(e) {
      const { data: res } = await zhreq.queryParentByCondition({ districtCode: e });
      if (res.length > 0) {
        return res[0]
      } else {
        return {}
      }
    },
    // 选择调用
    async provinceChange(e) {
      const { data: res } = await zhreq.queryParent(e.districtCode);
      this.cityList = res;
      this.$set(this.formData, "cityObj", {});
      this.$set(this.formData, "areaObj", {});
      this.areaList = [];
      // this.areaChange(res[0])
    },
    async areaChange(e) {
      const { data: res } = await zhreq.queryParent(e.districtCode);
      this.areaList = res;
      this.$set(this.formData, "areaObj", {});
      // this.$set(this.formData, 'area', '')
    },
    // 获取表格信息
    gettabledataList() {
      let params = {
        page: this.currentPage,
        size: this.pageSize,
        entity: {
          unitTypeName: this.unitTypeName
        }
      };
      zhreq.getList(params).then((response) => {
        let mes = response.data;
        if (response.code === 1) {
          this.tableData = mes || [];
          this.totalSize = mes.totalPages;
          this.resetActionBar();
        } else {
          this.$message.warning("获取表格失败");
        }
      });
    },
    // 点击某一节点
    async treeclick(e) {
      this.formData = {}
      this.formData = JSON.parse(JSON.stringify(e));
      if (e.province) {
        this.$set(this.formData, 'provinceObj', await this.queryParentByCondition(e.province))
        await this.provinceChange({ districtCode: e.province })
      }
      if (e.city) {
        this.$set(this.formData, 'cityObj', await this.queryParentByCondition(e.city))
        await this.areaChange({ districtCode: e.city })
      }
      if (e.area) {
        this.$set(this.formData, 'areaObj', await this.queryParentByCondition(e.area))
      }
      this.editActive = true;
      this.addActive = true;
      this.saveActive = false;
      this.cancelActive = false;
      this.canInput = false;
      this.editActive = true;
    },
    // 添加
    add() {
      this.canInput = true;
      this.nowChanceStau = "add";
      if (this.formData.isTopParent) {
        this.$set(this.formData, 'isTopParent', false)
      }
      this.titleText = "添加";
      this.dialogFormVisible = true;
      this.addActive = false;
      this.delActive = false;
      this.saveActive = true;
      this.cancelActive = true;
      this.editActive = false;
    },
    handleSelectionChange() {
      this.nowselectedList = [];
      const list = this.$refs.catetreetwo.getCheckedNodes();
      this.nowselectedList = list.map((item) => {
        return item.plantTypeNo;
      });
      if (this.nowselectedList && this.nowselectedList.length > 0) {
        this.delActive = true;
      } else this.delActive = false;
    },
    // 搜索
    search() {
      this.currentPage = 1;
      this.gettabledataList();
    },
    changePageSize(pageSize) {
      this.pageSize = pageSize;
      this.gettabledataList();
    },
    changeCurrentPage(currentPage) {
      this.currentPage = currentPage;
      this.gettabledataList();
    },
    // 删除一个业务组件
    // delmessage(i, e) {
    //   if (this.nowChanceStau === "del") {
    //     zhreq.delList(this.nowselectedList[0]).then((res) => {
    //       if (res.code === 1) {
    //         this.$message.success("删除成功！");
    //         this.gettabledataList();
    //       }
    //     });
    //   }
    // },
    handleEdit(row) {
      if (row) {
        this.formData = JSON.parse(JSON.stringify(row));
      }
    },
    // 修改一个业务组件
    editlineallmes(i, e) {
      if (e) {
        this.formData = JSON.parse(JSON.stringify(e));
        this.diastau = 3;
      }
    },
    // 保存要添加的业务的组件信息
    save() {
      this.$refs['formData'].validate(async (valid) => {
        if (valid) {
          if (this.nowChanceStau === "edit") {
            let param = {
              ...this.formData
            };
            if (param.provinceObj) this.$set(param, "province", param.provinceObj.districtCode);
            if (param.cityObj) this.$set(param, "city", param.cityObj.districtCode);
            if (param.areaObj) this.$set(param, "area", param.areaObj.districtCode);
            if (param.provinceObj) this.$set(param, "provinceName", param.provinceObj.districtName);
            if (param.cityObj) this.$set(param, "cityName", param.cityObj.districtName);
            if (param.areaObj) this.$set(param, "areaName", param.areaObj.districtName);
            if (param.provinceName || param.cityName || param.areaName) {
              param.location = (param.provinceName || "") +
            (param.cityName || "") +
            (param.areaName || "");
            }
            // console.log(param);
            // return;
            zhreq.editList(param).then((response) => {
              let mes = response;
              if (mes.code === 1) {
                this.$message.success("修改成功！");
                this.gettabledataList();
              }
            });
          } else if (this.nowChanceStau === "add") {
            this.loading = true
            let param = {
              ...this.formData
            };
            if (param.parentId !== 0 && !param.parentId) {
              param.parentId = 0;
              if (!param.isTopParent) {
                param.isTopParent = false;
              }
              if (!param.databaseName && param.isTopParent) {
                // console.log(param);
                this.$message.warning('顶级组织请先输入数据库名称！！！')
                return
              }
            } else {
              param.parentId = param.organizationId;
              param.isTopParent = false;
            }
            if (param.provinceObj) { this.$set(param, "province", param.provinceObj.districtCode); }
            if (param.cityObj) this.$set(param, "city", param.cityObj.districtCode);
            if (param.areaObj) this.$set(param, "area", param.areaObj.districtCode);
            if (param.provinceObj) { this.$set(param, "provinceName", param.provinceObj.districtName); }
            if (param.cityObj) { this.$set(param, "cityName", param.cityObj.districtName); }
            if (param.areaObj) { this.$set(param, "areaName", param.areaObj.districtName); }
            param.location =
          (param.provinceName || "") +
          (param.cityName || "") +
          (param.areaName || "");
            // console.log(param);
            // return;
            delete param.organizationId
            // return
            if (param.parentId === 0 && param.isTopParent === true) {
              // const response = await zhreq.ToData({ organizationNo: param.organizationNo, databaseName: param.databaseName })
              // // .then((response) => {
              // let mes = response;
              // if (mes.code === 1) {
              //   this.$message.success("初始化成功！");
              zhreq.addList(param).then((response) => {
                let mes = response;
                if (mes.code === 1) {
                  this.loading = false
                  this.$message.success("添加信息成功！");
                  this.$confirm('跳转农业类型分配, 是否继续?', '提示', {
                    confirmButtonText: '确定',
                    cancelButtonText: '取消',
                    type: 'warning'
                  }).then(() => {
                    this.$router.push({ name: 'AgriculturalBaseManagement', params: { organizationName: param.organizationName } })
                    this.gettabledataList();
                  }).catch(() => {
                    this.$message({
                      type: 'info',
                      message: '已取消'
                    });
                    this.gettabledataList();
                  });
                } else {
                  this.$message.success(mes.msg || "添加信息失败！");
                  return
                }
              });
              // } else {
              //   this.$message.success(mes.msg || "初始化失败！");
              //   return
              // }
              // });
            } else {
              zhreq.addList(param).then((response) => {
                let mes = response;
                if (mes.code === 1) {
                  this.loading = false
                  this.$message.success("添加信息成功！");
                  this.$confirm('跳转农业类型分配, 是否继续?', '提示', {
                    confirmButtonText: '确定',
                    cancelButtonText: '取消',
                    type: 'warning'
                  }).then(() => {
                    this.$router.push({ name: 'AgriculturalBaseManagement', params: { organizationName: param.organizationName } })
                    this.gettabledataList();
                  }).catch(() => {
                    this.$message({
                      type: 'info',
                      message: '已取消'
                    });
                    this.gettabledataList();
                  });
                } else {
                  this.$message.success(mes.msg || "添加信息失败！");
                  return
                }
              });
            }
          }
        } else {
          return false;
        }
      });
    },
    // 修改时-保存要添加的业务的组件信息
    savemesedit() {
      let param = {
        ...this.formData
      };
      zhreq.editList(param).then((response) => {
        let mes = response;
        if (mes.code === 1) {
          this.diastau = 0;
          this.$message.success("修改成功！");
          this.gettabledataList();
        }
      });
    },
    // 获取状态
    getstau(e) {
      this.selectStau = e;
      if (e === "add") {
        this.diastau = 1;
      } else if (e === "complete") {
        this.diastau = 0;
      } else if (e === "edit") {
        this.diastau = 3;
      }
    },
    // 设置弹框展示
    setdiaview(i) {
      this.diastau = i;
    }
  }
};
</script>

<style lang="scss" scoped>
  @import "~@/styles/variables.scss";
// .business-main {
//   width: 100%;
//   height: 100%;
//   .topbar-view {
//     width: 100%;
//     margin-bottom: 5px;
//   }
.zh-table-view {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  .view-tree {
    width: 38%;
    height: 100%;
    border: 1px solid #00faad;
    border-radius: 5px;
    // border-radius: 30px;
    padding: 20px 20px;
    overflow-y: auto;
  }
  .view-from {
    width: 58%;
    border: 1px solid #00faad;
    border-radius: 5px;
    height: 100%;
    overflow-y: auto;
    padding: 20px 20px;
    ::v-deep .el-form-item {
      width: 100%;
    }
    ::v-deep .el-form-item__content {
      display: flex;
      align-items: center;
      text-align: center;
      width: 100%;
      // margin-bottom: 20px;
    }
    ::v-deep .el-form-item__label {
      min-width: 150px;
      text-align: end;
    }
    .el-form {
      width: 100%;
      display: flex;
      // overflow-y: auto;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;

      .el-form-item__content {
        display: flex;
        width: 100%;

        .el-select {
          min-width: 15%;
        }

        .el-input {
          min-width: 10%;
        }

        .el-input__inner {
          border-right: none;
        }

        .el-button {
          min-width: 5%;
          margin-left: 10px;
        }
      }

      .el-form-item {
        display: flex;
        align-items: center;

        .el-form-item__label {
          line-height: 36px;
          min-width: 120px;
          text-align: end;
        }

        .el-form-item__content {
          line-height: 36px;
          width: 100%;
          display: flex;
          .el-form-item__label {
            min-width: 90px;
            text-align: end;
          }
          // flex-direction: row;
          flex-wrap: wrap;
        }
      }
    }
  }
}
// }
.add-components-dia {
  width: 502px;
  // height: 191px;
  background: #303640;
  border: 1px solid #005c6f;
  border-radius: 7px;
  position: fixed;
  top: 15%;
  left: 40%;
  // background-color: #005c6f;
  z-index: 99;
  .top-bar {
    width: 502px;
    height: 10px;
    background: linear-gradient(90deg, #3581fb 0%, #00faad 100%);
    border-radius: 7px 7px 0px 0px;
  }
  .top-title-line {
    width: 490px;
    height: 35px;
    line-height: 35px;
    padding: 6px 8px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #484a4e;
    .line-title {
      height: 20px;
      font-size: 14px;
      font-family: PingFang SC-Regular, PingFang SC;
      font-weight: 400;
      color: $textColor;
      letter-spacing: 2px;
    }
    .line-close {
      color: #10d7c4;
      cursor: pointer;
    }
    .line-close:hover {
      color: $textColor;
    }
  }
  .screen-dia-main {
    width: 502px;
    padding: 20px 10px;
    // max-height: 550px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 480px;
    .title-config {
      padding-bottom: 20px;
      border-bottom: #00faad 1px solid;
      margin-bottom: 10px;
    }
    .dia-main-inputline {
      width: 482px;
      margin-top: 5px;
      display: flex;
      // justify-content: center;
      align-items: center;
      margin-bottom: 10px;
      .inputline-name {
        width: 120px;
        height: 24px;
        font-size: 16px;
        font-family: PingFang SC-Regular, PingFang SC;
        font-weight: 400;
        color: $textColor;
        line-height: 24px;
        text-align: center;
      }
      .inputline-value {
        width: 350px;
        height: 32px;
        box-sizing: border-box;
        border-radius: 0px 0px 0px 0px;
        opacity: 1;
        border: 1px solid #494e57;
        box-sizing: border-box;
        outline: 0;
      }
      .textarealine-value {
        width: 350px;
        height: 32px;
        box-sizing: border-box;
        border-radius: 0px 0px 0px 0px;
        opacity: 1;
        border: 1px solid #494e57;
        box-sizing: border-box;
        outline: 0;
      }
      .icon-line-value {
        width: 48px;
        height: 48px;
        text-align: center;
        .not-iconurl {
          border: 1px dashed #d9d9d9;
          border-radius: 6px;
          cursor: pointer;
          position: relative;
          overflow: hidden;
        }
        .not-iconurl:hover {
          border-color: #1caf7e;
        }
        .not-iconsty {
          font-size: 20px;
          color: #8c939d;
          width: 48px;
          height: 48px;
          line-height: 48px;
          text-align: center;
        }
      }
      .selcect-one {
        width: 350px;
        height: 32px;
        box-sizing: border-box;
        border-radius: 0px 0px 0px 0px;
        opacity: 1;
        border: 1px solid #494e57;
        box-sizing: border-box;
        outline: 0;
      }
    }
    .dia-main-addline {
      width: 442px;
      font-size: 16px;
      font-family: PingFang SC-Regular, PingFang SC;
      font-weight: 400;
      color: $textColor;
      line-height: 24px;
      border-bottom: #00faad 1px dashed;
      padding-bottom: 16px;
      margin-bottom: 10px;
      .components-line {
        display: flex;
        // justify-content: space-between;
        align-items: center;
        width: 442px;
        height: 48px;
        .slect-name {
          width: 90px;
          height: 36px;
          font-size: 16px;
          font-family: PingFang SC-Regular, PingFang SC;
          font-weight: 400;
          color: $textColor;
          line-height: 36px;
          text-align: center;
        }
        .selcect-one {
          width: 350px;
          color: #00faad;
          margin-top: 12px;
          height: 36px;
          line-height: 36px;
          background-color: transparent;
          border: #00faad dashed 1px;
          cursor: pointer;
          option {
            background-color: #005c6f !important;
            color: $textColor;
            cursor: pointer;
          }
        }
      }
      .addline-but {
        width: 442px;
        display: flex;
        justify-content: space-around;
        margin-top: 15px;
        .addline-but1 {
          color: #00faad;
          border: 1px solid #00faad;
          cursor: pointer;
          padding: 5px 10px;
        }
        .addline-but1:hover {
          color: $textColor;
        }
        .addline-but2 {
          color: #3581fb;
          border: 1px solid #3581fb;
          cursor: pointer;
          padding: 5px 10px;
        }
        .addline-but2:hover {
          color: $textColor;
        }
      }
    }
    .dia-main-addline:last-of-type {
      padding-bottom: 0;
      margin: 0;
      border: none;
    }
    .showkuang-one {
      position: relative;
      left: 41px;
      width: 400px;
      min-height: 200px;
      .kuangone-main {
        position: absolute;
        width: 100%;
        height: 400px;
      }
    }
  }
  .bottom-bar {
    width: 482px;
    height: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 16px;
    .bottom-bar-cancel {
      width: 96px;
      height: 33px;
      border-radius: 5px 5px 5px 5px;
      border: 1px solid #0cb9ae;
      color: #0cb9ae;
      cursor: pointer;
      line-height: 33px;
      text-align: center;
    }
    .bottom-bar-cancel:hover {
      color: #00faad;
    }
    .bottom-bar-confirm {
      width: 96px;
      height: 33px;
      background: #0cb9ae;
      border-radius: 5px 5px 5px 5px;
      cursor: pointer;
      line-height: 33px;
      text-align: center;
    }
    .bottom-bar-confirm:hover {
      color: #10fab4;
    }
  }
}
</style>
